#-------------------------------------------------
#
# Project created by QtCreator 2016-11-18T08:25:36
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TRANSLATIONS += systemStatusEnglishLan.ts

TARGET = systemstatus
TEMPLATE = lib

DEFINES += SYSTEMSTATUS_LIBRARY

SOURCES += systemstatus.cpp \
    distatus.cpp \
    dostatus.cpp \
    sistatus.cpp \
    sostatus.cpp \
    aistatus.cpp \
    aostatus.cpp \
    timerstatus.cpp \
    registerstatus.cpp \
    pointregisterstatus.cpp \
    palletregisterstatus.cpp \
    generalstatus.cpp \
    globalregisterstatus.cpp

HEADERS += systemstatus.h\
        systemstatus_global.h \
    distatus.h \
    dostatus.h \
    sistatus.h \
    sostatus.h \
    aistatus.h \
    aostatus.h \
    timerstatus.h \
    registerstatus.h \
    pointregisterstatus.h \
    palletregisterstatus.h \
    generalstatus.h \
    globalregisterstatus.h

INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine


unix {
    target.path = /usr/lib
    INSTALLS += target
}

FORMS += \
    systemstatus.ui \
    distatus.ui \
    dostatus.ui \
    sistatus.ui \
    sostatus.ui \
    aistatus.ui \
    aostatus.ui \
    timerstatus.ui \
    registerstatus.ui \
    pointregisterstatus.ui \
    palletregisterstatus.ui \
    generalstatus.ui \
    globalregisterstatus.ui

OTHER_FILES +=

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
}


#编译目录
UI_DIR += ../../build/tmphmi
MOC_DIR += ../../build/tmphmi
OBJECTS_DIR += ../../build/tmphmi
RCC_DIR += ../../build/tmphmi
